package com.tao.power.Service;

import com.tao.power.Dto.Result;
import com.tao.power.Pojo.Menu;
import com.tao.power.Pojo.Roler;
import com.tao.power.Pojo.RolerPower;

import java.util.Date;
import java.util.List;

public interface RolerService {

    Result queryRoler(int count,int page);

    Result deleteRoler(Integer id);

    Result updateRoler(Roler roler) throws Exception;

    Result insertRoler(Roler roler) throws Exception;

    Result queryRolerBySearch(String rolerName,String rolerStatus, Date startTime,Date endTime
            ,Integer currentPage,Integer pageSize);

    Result batchDel(List<Integer> idList);

    Result queryRoles();
    Result queryRolesById(Integer id);

    Result updateRoles(List<Integer> list,Integer id);

    Result updateStatus(Roler roler);
}
